package com.cjhstudy.mall.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: phil
 * @ProjectName: mall
 * @Date: 2021/12/8
 */
@Data
public class UserLoginForm {

    //@NotBlank 用于 String 判断为空
    //@NotEmpty 用于集合判断为空
    //@NotNull 用于Integer
    @NotBlank
    private String username;

    @NotBlank
    private String password;

}
